﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MVC4App.SecurityServiceReference;

namespace MVC4App.Repositories.Core.Security
{
    public interface IRoleRepository:IRepository<RoleDto>
    {
        string[] GetByUserId(int? id);
        List<RoleInSiteDto> GetRoleInSite(int siteId);
        string GrantRolePermission(int roleId,List<RoleInSiteDto> dtos);
    }
}